from playwright.sync_api import sync_playwright
import time

with sync_playwright() as p:
    '''
    防止被浏览器检测的处理方法
    '''
    browser = p.chromium.launch(headless=False)
    page = browser.new_page()

    page.goto('https://bot.sannysoft.com/')

    time.sleep(100)

    browser.close()
